if [ "${1}" == "" -o "${2}" == "" ]; then
	echo "Usage: ${0} <all_file_dir> <find_file_dir>
	the all_file_dir contains find_file_dir"
	exit
fi
all_file_dir=${1}
find_file_dir=${2}

for var1 in `ls $all_file_dir`
do
	for var2 in `ls $find_file_dir`
	do
		if [ `basename $var1` = `basename $var2` ]; then
			echo "$find_file_dir/$var1"
		fi
	done
done
